package com.wuseguang.springcloud.service;

import com.alibaba.fastjson.JSONArray;
import com.wuseguang.springcloud.util.Result;

import java.util.Map;

public interface AttendanceService {

    Result addAttend(String deviceid, Integer userid, Integer groupid, Integer grouptype, Integer shiftid, String time);

    Result queryAttendUserStatusAll(String deviceid, Integer groupid, Integer grouptype, Integer shiftid, String time);

    Map<String, Object> queryAttendGroupDialogAll(String deviceid);

    Result findStudentFace(String deviceid);

    Result informStudentFace(JSONArray faceList,String deviceid);

    Result findDeleteStudentFace(String deviceid);


    Map<String, Object> queryVacationById(Integer id);

    Result release(Integer id);

    Map<String, Object> queryParentsLeaveMessages(Integer id,Integer type);


    long addParentsLeaveMessages(Integer id, Integer type, String content);

    long updateParentsLeaveMessagesState(Integer id);

    Result findSchoolFace(String deviceid);

    Result informSchoolFace(JSONArray list, String deviceid);

    Result findDeleteStudentOtherFace(String deviceid);

    Result queryParentActivitiyByDeviceid(String deviceid);

    Result queryStudentIdByCardNumber(String deviceid, String cardNumber);

    Result queryActivitiyByIdList(Integer id, String deviceid);
}
